package com.ruoyi.system.service;

import java.util.List;
import com.ruoyi.system.domain.Appointment;

/**
 * 预约订单Service接口
 * 
 * @author 何志龙
 * @date 2024-09-21
 */
public interface IAppointmentService 
{
    /**
     * 查询预约订单
     * 
     * @param id 预约订单主键
     * @return 预约订单
     */
    public Appointment selectAppointmentById(Long id);

    /**
     * 查询预约订单列表
     * 
     * @param appointment 预约订单
     * @return 预约订单集合
     */
    public List<Appointment> selectAppointmentList(Appointment appointment);

    /**
     * 新增预约订单
     * 
     * @param appointment 预约订单
     * @return 结果
     */
    public int insertAppointment(Appointment appointment);

    /**
     * 修改预约订单
     * 
     * @param appointment 预约订单
     * @return 结果
     */
    public int updateAppointment(Appointment appointment);

    /**
     * 批量删除预约订单
     * 
     * @param ids 需要删除的预约订单主键集合
     * @return 结果
     */
    public int deleteAppointmentByIds(Long[] ids);

    /**
     * 删除预约订单信息
     * 
     * @param id 预约订单主键
     * @return 结果
     */
    public int deleteAppointmentById(Long id);
}
